<form method="post" action="{url link='current'}" style="margin:0px;">
<input type="hidden" name="act[dayevents_show]" value="1" />
{language text="type"}:
{filter data=$aFilter.type style="width:160px;" onchange="javascript:submit();"}
</form>
<br />
<br />
{include file="$sRootPath/_blocks/pager_nav_button.html"}
{foreach from=$aItems item=aItem name=aitems}
        <table style="width:100%;"{cycle values=' class="border13",'} cellpadding="0" cellspacing="5">
        <tr>
        <td style="width:25%;text-align:center;vertical-align:top;">
            <a href="{url link='public.user' name=$aItem.user}">
                {Account::Avatar sUser=$aItem.user iSize=75 class="pic1" onmouseover="showInfo5('`$aItem.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}
            </a>
        </td>
        <td style="width:75%;vertical-align:top;font-size:10pt;" class="color">

        <div style="padding:5px;">
            <a href="{url link='public.event.view' id=$aItem.id}">{$aItem.title|escape}</a>
        <div style="padding:5px;font-size:8pt;">
        {language text="submited_by"}: {$aItem.user}<br />
        {language text="location"}: {if $aItem.country == 'United States'}
{$aItem.city|escape}, {$aItem.state|escape} (USA)
{else}
{$aItem.city|escape}, {$aItem.country|escape}
{/if}<br />
        {language text="category_145"}: {$aItem.type}<br />
        {language text="views"}: {$aItem.views}<br />

        </div>
        </div>
        </td>
        </tr>
        </table>
{foreachelse}
<div style="font-weight:bold;color:green;padding:5px;font-size:11px;text-align:center;">
{language text="no_events_have_been_added"}
</div>
{/foreach}
{include file="$sRootPath/_blocks/pager_nav_button.html"}